<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
    for(var a=1;a<100;a=a+1){
      for(var b=1;b<100;b=b+1){
          for(var c=1;c<100;c=c+1){
              if(5*a+3*b+1/3*c == 100 && a+b+c == 100){
                  console.log("公鸡："+a,"母鸡："+b,"小鸡："+c);
                  
              }
          }
      }
    }
</script>